package com.itsu.spbspider.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @author suben
 * @create time 2020/2/9 13:38
 */
@Data
@TableName("tb_api")
public class Api {

    @TableId(value = "app_key", type = IdType.ASSIGN_UUID)
    private String appKey;
    private Date requestTs;
    private Long remainingTimes;
    private Double price;
    @TableField(exist = false)
    private String type;
}
